package com.iotechn.unimall.app.api.association;

import com.dobbinsoft.fw.core.annotation.HttpMethod;
import com.dobbinsoft.fw.core.annotation.HttpOpenApi;
import com.dobbinsoft.fw.core.annotation.HttpParam;
import com.dobbinsoft.fw.core.annotation.HttpParamType;
import com.dobbinsoft.fw.core.annotation.param.NotNull;
import com.dobbinsoft.fw.core.exception.ServiceException;
import com.iotechn.unimall.data.domain.AssociationDO;

@HttpOpenApi(group = "association", description = "协会服务")
public interface AssociationService {
    @HttpMethod(description = "自己加入的企业详情")
    public AssociationDO detail(
            @NotNull @HttpParam(name = "associationId", type = HttpParamType.COMMON, description = "协会id") Long associationId
    ) throws ServiceException;
}
